package com.t3rik.mes.emp.mapper;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.t3rik.mes.emp.domain.EmpSalary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 工资总表Mapper接口
 *
 * @author ykh
 * @date 2025-02-19
 */
@Mapper
public interface EmpSalaryMapper extends BaseMapper<EmpSalary> {

    EmpSalary selectByUserId(@Param("userId") Long userId, @Param("year") LocalDateTime year);
}
